{layout name="layout/default" /}
<div class="panel panel-default panel-intro">
    <div class="panel-heading">
        <div class="panel-lead"><em>{$nav_title.title}</em>{$nav_title.remark}</div>
    </div>
<div class="panel-body is-dialog">    
<form id="edit-form" class="form-horizontal form-ajax" role="form"  data-toggle="validator" method="post" action="">      
<div id="myTabContent" class="tab-content">

<div class="tab-pane fade active in" >
  <div class="form-group">
            <label for="c-content" class="control-label col-xs-12 col-sm-2">百度推送token：</label>
             <div class="col-xs-12 col-sm-3">
              <input type="text" name="sendurl[baidu_token]" id="sendurl[baidu_token]"  value="{$baidu_token}" class="form-control" data-tip="百度推送连接token=值">
              </div>
              </div>
           <div class="form-group">
            <label for="c-content" class="control-label col-xs-12 col-sm-2">熊掌号appid：</label>
             <div class="col-xs-12 col-sm-3">
              <input type="text" name="sendurl[xiongzhang_appid]" id="sendurl[xiongzhang_appid]"  value="{$xiongzhang_appid}" class="form-control" data-tip="熊掌号appid值">
              </div>
              </div>
            <div class="form-group">
            <label for="c-content" class="control-label col-xs-12 col-sm-2">熊掌号token：</label>
             <div class="col-xs-12 col-sm-3">
              <input type="text" name="sendurl[xiongzhang_token]" id="sendurl[xiongzhang_token]"  value="{$xiongzhang_token}" class="form-control" data-tip="熊掌号appid值">
              </div>
              </div> 
               <div class="form-group">
               <label for="c-keywords" class="control-label col-xs-12 col-sm-2">使用推送方式:</label>
               <div class="col-xs-12 col-sm-6">
               <select name="sendurl[sendurl_type]" id="sendurl[sendurl_type]" class="form-control selectpicker">
               <option value="1" {eq name="sendurl_type" value="1"}selected{/eq}>百度推送</option>
               <option value="2" {eq name="sendurl_type" value="2"}selected{/eq}>熊掌推送</option>
               <option value="3" {eq name="sendurl_type" value="3"}selected{/eq}>同时推送</option>
               </select>
             </div>
           </div>                
               <div class="form-group">
               <label for="c-keywords" class="control-label col-xs-12 col-sm-2">添加更新数据推送:</label>
               <div class="col-xs-12 col-sm-6">
               <select name="sendurl[sendurl_data]" id="sendurl[sendurl_data]" class="form-control selectpicker">
               <option value="1">是</option>
               <option value="0" {eq name="sendurl_data" value="0"}selected{/eq}>否</option>
               </select>
             </div>
           </div>                 
               <div class="form-group">
               <label for="c-keywords" class="control-label col-xs-12 col-sm-2">采集更新添加推送:</label>
               <div class="col-xs-12 col-sm-6">
               <select name="sendurl[sendurl_caiji]" id="sendurl[sendurl_caiji]" class="form-control selectpicker">
               <option value="1">是</option>
               <option value="0" {eq name="sendurl_caiji" value="0"}selected{/eq}>否</option>
               </select>
             </div>
           </div>
               <div class="form-group">
               <label for="c-keywords" class="control-label col-xs-12 col-sm-2">视频是否推送播放地址:</label>
               <div class="col-xs-12 col-sm-6">
               <select name="sendurl[sendurl_vodplay]" id="sendurl[sendurl_vodplay]" class="form-control selectpicker">
               <option value="1">是</option>
               <option value="0" {eq name="sendurl_vodplay" value="0"}selected{/eq}>否</option>
               </select>
             </div>
           </div> 
               <div class="form-group">
               <label for="c-keywords" class="control-label col-xs-12 col-sm-2">视频是否推送角色地址:</label>
               <div class="col-xs-12 col-sm-6">
               <select name="sendurl[sendurl_vodrole]" id="sendurl[sendurl_vodrole]" class="form-control selectpicker">
               <option value="1">是</option>
               <option value="0" {eq name="sendurl_vodrole" value="0"}selected{/eq}>否</option>
               </select>
             </div>
           </div> 
               <div class="form-group">
               <label for="c-keywords" class="control-label col-xs-12 col-sm-2">视频是否推送剧情分集地址:</label>
               <div class="col-xs-12 col-sm-6">
               <select name="sendurl[sendurl_vodstory]" id="sendurl[sendurl_vodstory]" class="form-control selectpicker">
               <option value="1">是</option>
               <option value="0" {eq name="sendurl_vodstory" value="0"}selected{/eq}>否</option>
               </select>
             </div>
           </div>                                                       
    
      </div>
 
         
</div>     
<div class="layui-layer-btn layui-layer-footer">
<div class="row"><div class="col-xs-2"></div><div class="col-xs-12 col-sm-6">
            <button type="submit" class="btn btn-success btn-embossed">确定</button>
            <button type="reset" class="btn btn-default btn-embossed">重置</button>
            <button onClick="javascript:history.back(-1);return false;" class="btn btn-danger">返回</button>
        </div></div>
        </div>
  </form>
<div class="panel-body is-dialog">

  <div class="form-group">
  <div class="col-xs-12 col-sm-1">
</div>
              <div class="col-xs-12 col-sm-10">
              <input type="button" value="推送网站首页" class="btn btn-success btn-add btn-sm ajax-get" url="{:admin_url('admin/sendurl/send',array('method'=>'index'))}" {$url_html}/> 
              <a class="btn btn-success btn-add btn-sm" href="{:admin_url('admin/sendurl/send',array('method'=>'vod_detail_cids','jump'=>1))}">一键推送全站连接</a>
              <a class="btn btn-success btn-add btn-sm" href="{:admin_url('admin/sendurl/send',array('method'=>'my_detail_cids'))}">推送网站单页</a>
{notempty name="jumpurl"}<a href="{$jumpurl}" class="btn btn-danger">上次有推送任务没有完成，是否接着推送?</a>{/notempty}
              </div>
              </div>
              </div> 
     <form class="form-horizontal" method="post" action="{:admin_url('admin/sendurl/send',array('method'=>'vod_detail_cids'))}">  
           <div class="form-group">
            <label for="c-content" class="control-label col-xs-12 col-sm-2">推送视频内容：</label>
    <div class="col-xs-12 col-sm-10">
    	<select name="cid" class="form-control" style="width:auto; padding:0px 30px 0px 10px; margin-right:10px;float:left">
         <option value="">全部分类</option>
        {volist name="listvod" id="vo"}
       <option value="{$vo.list_id}">{$vo.list_name}</option>
       
       {volist name="vo['son']" id="splist"}  
        <option value="{$splist.list_id}">├ {$splist.list_name}</option>  
        {/volist}
        {/if}  
       {/volist}
       </select>
    
	<select name="day" class="form-control" style="width:auto; padding:0px 20px; margin-right:10px;float:left">
    <option value="d">今天</option>
    <option value="yesterday">昨天</option>
    <option value="w">本周</option>
    <option value="last week">上周</option>
    <option value="m">本月</option>
    <option value="y">今年</option>
    <option value="">全部</option>
    </select>
    <input type="submit" value="推送" class="btn btn-success btn-add btn-sm" {$url_vod_data} {$url_html}/>

              </div>
              </div> 
              </form> 
  <form class="form-horizontal" method="post" action="{:admin_url('admin/sendurl/send',array('method'=>'list_sendurl'))}"> 
    <div class="form-group">
     <label for="c-content" class="control-label col-xs-12 col-sm-2">推送视频分类：</label>
    <div class="col-xs-12 col-sm-10">
    	<select name="cid" class="form-control" style="width:auto; padding:0px 30px 0px 10px; margin-right:10px;float:left">
        <option value="">全部</option>
        {volist name="listvod" id="vo"}
       <option value="{$vo.list_id}">{$vo.list_name}</option>
       
       {volist name="vo['son']" id="splist"}  
        <option value="{$splist.list_id}">├ {$splist.list_name}</option>  
        {/volist}  
       {/volist}
       </select>
       <input type="submit" value="推送" class="btn btn-success btn-add btn-sm"/>
       </div>
       </div> 
       </form>             
          
     <form class="form-horizontal" method="post" action="{:admin_url('admin/sendurl/send',array('method'=>'news_detail_cids'))}">  
           <div class="form-group">
            <label for="c-content" class="control-label col-xs-12 col-sm-2">推送文章内容：</label>
    <div class="col-xs-12 col-sm-10">
    	<select name="cid" class="form-control" style="width:auto; padding:0px 30px 0px 10px; margin-right:10px;float:left">
         <option value="">全部分类</option>
        {volist name="listnews" id="vo"}
       <option value="{$vo.list_id}">{$vo.list_name}</option>
       
       {volist name="vo['son']" id="splist"}  
        <option value="{$splist.list_id}">├ {$splist.list_name}</option>  
        {/volist}
        {/if}  
       {/volist}
       </select>
    
	<select name="day" class="form-control" style="width:auto; padding:0px 20px; margin-right:10px;float:left">
    <option value="d">今天</option>
    <option value="yesterday">昨天</option>
    <option value="w">本周</option>
    <option value="last week">上周</option>
    <option value="m">本月</option>
    <option value="y">今年</option>
    <option value="">全部</option>
    </select>
    <input type="submit" value="推送" class="btn btn-success btn-add btn-sm" {$url_news_data} {$url_html}/>

              </div>
              </div> 
              </form> 
 <form class="form-horizontal" method="post" action="{:admin_url('admin/sendurl/send',array('method'=>'list_sendurl','sid'=>2))}"> 
            <div class="form-group">
            <label for="c-content" class="control-label col-xs-12 col-sm-2">推送文章分类：</label>
    <div class="col-xs-12 col-sm-10">
    	<select name="cid" class="form-control" style="width:auto; padding:0px 30px 0px 10px; margin-right:10px;float:left">
        <option value="">全部</option>
        {volist name="listnews" id="vo"}
       <option value="{$vo.list_id}">{$vo.list_name}</option>
       
       {volist name="vo['son']" id="splist"}  
        <option value="{$splist.list_id}">├ {$splist.list_name}</option>  
        {/volist}  
       {/volist}
       </select>
    <input type="submit" value="推送" class="btn btn-success btn-add btn-sm" {$url_news_list} {$url_html}/>

              </div>
              </div> 
            </form>  
            
     <form class="form-horizontal" method="post" action="{:admin_url('admin/sendurl/send',array('method'=>'star_detail_cids'))}">  
           <div class="form-group">
            <label for="c-content" class="control-label col-xs-12 col-sm-2">推送明星内容：</label>
    <div class="col-xs-12 col-sm-10">
    	<select name="cid" class="form-control" style="width:auto; padding:0px 30px 0px 10px; margin-right:10px;float:left">
         <option value="">全部分类</option>
        {volist name="liststar" id="vo"}
       <option value="{$vo.list_id}">{$vo.list_name}</option>
       
       {volist name="vo['son']" id="splist"}  
        <option value="{$splist.list_id}">├ {$splist.list_name}</option>  
        {/volist}
        {/if}  
       {/volist}
       </select>
    
	<select name="day" class="form-control" style="width:auto; padding:0px 20px; margin-right:10px;float:left">
    <option value="d">今天</option>
    <option value="yesterday">昨天</option>
    <option value="w">本周</option>
    <option value="last week">上周</option>
    <option value="m">本月</option>
    <option value="y">今年</option>
     <option value="">全部</option>
    </select>
    <input type="submit" value="推送" class="btn btn-success btn-add btn-sm" {$url_star_data} {$url_html}/>

              </div>
              </div> 
              </form> 
 <form class="form-horizontal" method="post" action="{:admin_url('admin/sendurl/send',array('method'=>'list_sendurl','sid'=>3))}"> 
            <div class="form-group">
            <label for="c-content" class="control-label col-xs-12 col-sm-2">推送明星分类：</label>
    <div class="col-xs-12 col-sm-10">
    	<select name="cid" class="form-control" style="width:auto; padding:0px 30px 0px 10px; margin-right:10px;float:left">
        <option value="">全部分类</option>
        {volist name="liststar" id="vo"}
       <option value="{$vo.list_id}">{$vo.list_name}</option>
       
       {volist name="vo['son']" id="splist"}  
        <option value="{$splist.list_id}">├ {$splist.list_name}</option>  
        {/volist}  
       {/volist}
       </select>
    <input type="submit" value="推送" class="btn btn-success btn-add btn-sm" {$url_star_list} {$url_html}/>

              </div>
              </div> 
            </form>             
            
                        
 
 

     <form class="form-horizontal" method="post" action="{:admin_url('admin/sendurl/send',array('method'=>'story_detail_cids'))}">  
           <div class="form-group">
            <label for="c-content" class="control-label col-xs-12 col-sm-2">推送剧情内容：</label>
    <div class="col-xs-12 col-sm-10">
    	<select name="cid" class="form-control" style="width:auto; padding:0px 30px 0px 10px; margin-right:10px;float:left">
         <option value="">全部分类</option>
        {volist name="liststory" id="vo"}
       <option value="{$vo.list_id}">{$vo.list_name}</option>
       
       {volist name="vo['son']" id="splist"}  
        <option value="{$splist.list_id}">├ {$splist.list_name}</option>  
        {/volist}
        {/if}  
       {/volist}
       </select>
    
	<select name="day" class="form-control" style="width:auto; padding:0px 20px; margin-right:10px;float:left">
    <option value="d">今天</option>
    <option value="yesterday">昨天</option>
    <option value="w">本周</option>
    <option value="last week">上周</option>
    <option value="m">本月</option>
    <option value="y">今年</option>
    <option value="">全部</option>
    </select>
    <input type="submit" value="推送" class="btn btn-success btn-add btn-sm" {$url_story_data} {$url_html}/>

              </div>
              </div> 
              </form> 
              
              
 <form class="form-horizontal" method="post" action="{:admin_url('admin/sendurl/send',array('method'=>'list_sendurl','sid'=>4))}"> 
            <div class="form-group">
            <label for="c-content" class="control-label col-xs-12 col-sm-2">推送剧情分类：</label>
    <div class="col-xs-12 col-sm-10">
    	<select name="cid" class="form-control" style="width:auto; padding:0px 30px 0px 10px; margin-right:10px;float:left">
        <option value="">全部分类</option>
        {volist name="liststory" id="vo"}
       <option value="{$vo.list_id}">{$vo.list_name}</option>
       
       {volist name="vo['son']" id="splist"}  
        <option value="{$splist.list_id}">├ {$splist.list_name}</option>  
        {/volist}  
       {/volist}
       </select>

    <input type="submit" value="推送" class="btn btn-success btn-add btn-sm" {$url_story_list} {$url_html}/>

              </div>
              </div> 
            </form>             
 
 
 
     <form class="form-horizontal" method="post" action="{:admin_url('admin/sendurl/send',array('method'=>'actor_detail_cids'))}">  
           <div class="form-group">
            <label for="c-content" class="control-label col-xs-12 col-sm-2">推送演员内容：</label>
    <div class="col-xs-12 col-sm-10">
    	<select name="cid" class="form-control" style="width:auto; padding:0px 30px 0px 10px; margin-right:10px;float:left">
         <option value="">全部分类</option>
        {volist name="listactor" id="vo"}
       <option value="{$vo.list_id}">{$vo.list_name}</option>
       
       {volist name="vo['son']" id="splist"}  
        <option value="{$splist.list_id}">├ {$splist.list_name}</option>  
        {/volist}
        {/if}  
       {/volist}
       </select>
    
	<select name="day" class="form-control" style="width:auto; padding:0px 20px; margin-right:10px;float:left">
    <option value="d">今天</option>
    <option value="yesterday">昨天</option>
    <option value="w">本周</option>
    <option value="last week">上周</option>
    <option value="m">本月</option>
    <option value="y">今年</option>
    <option value="">全部</option>
    </select>
    <input type="submit" value="推送" class="btn btn-success btn-add" {$url_actor_data} {$url_html}/>

              </div>
              </div> 
              </form> 

 <form class="form-horizontal" method="post" action="{:admin_url('admin/sendurl/send',array('method'=>'list_sendurl','sid'=>6))}"> 
            <div class="form-group">
            <label for="c-content" class="control-label col-xs-12 col-sm-2">推送演员分类：</label>
    <div class="col-xs-12 col-sm-10">
    	<select name="cid" class="form-control" style="width:auto; padding:0px 30px 0px 10px; margin-right:10px;float:left">
        <option value="">全部分类</option>
        {volist name="listactor" id="vo"}
       <option value="{$vo.list_id}">{$vo.list_name}</option>
       
       {volist name="vo['son']" id="splist"}  
        <option value="{$splist.list_id}">├ {$splist.list_name}</option>  
        {/volist}  
       {/volist}
       </select>

    <input type="submit" value="推送" class="btn btn-success btn-add btn-sm" {$url_actor_list} {$url_html}/>

              </div>
              </div> 
            </form>             
 
                          
  <form class="form-horizontal" method="post" action="{:admin_url('admin/sendurl/send',array('method'=>'role_detail_cids'))}"> 
            <div class="form-group">
            <label for="c-content" class="control-label col-xs-12 col-sm-2">推送角色内容：</label>
    <div class="col-xs-12 col-sm-10">
    	<select name="cid" class="form-control" style="width:auto; padding:0px 30px 0px 10px; margin-right:10px;float:left">
        <option value="">全部分类</option>
        {volist name="listrole" id="vo"}
       <option value="{$vo.list_id}">{$vo.list_name}</option>
       
       {volist name="vo['son']" id="splist"}  
        <option value="{$splist.list_id}">├ {$splist.list_name}</option>  
        {/volist}  
       {/volist}
       </select>
 	<select name="day" class="form-control" style="width:auto; padding:0px 20px; margin-right:10px;float:left">
    <option value="d">今天</option>
    <option value="yesterday">昨天</option>
    <option value="w">本周</option>
    <option value="last week">上周</option>
    <option value="m">本月</option>
    <option value="y">今年</option>
    <option value="">全部</option>
    </select>      
    <input type="submit" value="推送" class="btn btn-success btn-add btn-sm" {$url_role_data} {$url_html}/>

              </div>
              </div> 
            </form>
            
 <form class="form-horizontal" method="post" action="{:admin_url('admin/sendurl/send',array('method'=>'list_sendurl','sid'=>5))}"> 
            <div class="form-group">
            <label for="c-content" class="control-label col-xs-12 col-sm-2">推送角色分类：</label>
    <div class="col-xs-12 col-sm-10">
    	<select name="cid" class="form-control" style="width:auto; padding:0px 30px 0px 10px; margin-right:10px;float:left">
        <option value="">全部分类</option>
        {volist name="listrole" id="vo"}
       <option value="{$vo.list_id}">{$vo.list_name}</option>
       
       {volist name="vo['son']" id="splist"}  
        <option value="{$splist.list_id}">├ {$splist.list_name}</option>  
        {/volist}  
       {/volist}
       </select>

    <input type="submit" value="推送" class="btn btn-success btn-add btn-sm" {$url_role_list} {$url_html}/>

              </div>
              </div> 
            </form>              
            
            
 <form class="form-horizontal" method="post" action="{:admin_url('admin/sendurl/send',array('method'=>'special_detail_cids'))}"> 
            <div class="form-group">
            <label for="c-content" class="control-label col-xs-12 col-sm-2">推送专题内容：</label>
    <div class="col-xs-12 col-sm-10">
    	<select name="cid" class="form-control" style="width:auto; padding:0px 30px 0px 10px; margin-right:10px;float:left">
        <option value="">全部分类</option>
        {volist name="listspecial" id="vo"}
       <option value="{$vo.list_id}">{$vo.list_name}</option>
       
       {volist name="vo['son']" id="splist"}  
        <option value="{$splist.list_id}">├ {$splist.list_name}</option>  
        {/volist}  
       {/volist}
       </select>
 	<select name="day" class="form-control" style="width:auto; padding:0px 20px; margin-right:10px;float:left">
    <option value="d">今天</option>
    <option value="yesterday">昨天</option>
    <option value="w">本周</option>
    <option value="last week">上周</option>
    <option value="m">本月</option>
    <option value="y">今年</option>
    <option value="">全部</option>
    </select>      
    <input type="submit" value="推送" class="btn btn-success btn-add btn-sm" {$url_special_data} {$url_html}/>

              </div>
              </div> 
            </form>                    
 <form class="form-horizontal" method="post" action="{:admin_url('admin/sendurl/send',array('method'=>'list_sendurl','sid'=>10))}"> 
            <div class="form-group">
            <label for="c-content" class="control-label col-xs-12 col-sm-2">推送专题分类：</label>
    <div class="col-xs-12 col-sm-10">
    	<select name="cid" class="form-control" style="width:auto; padding:0px 30px 0px 10px; margin-right:10px;float:left">
        <option value="">全部分类</option>
        {volist name="listspecial" id="vo"}
       <option value="{$vo.list_id}">{$vo.list_name}</option>
       
       {volist name="vo['son']" id="splist"}  
        <option value="{$splist.list_id}">├ {$splist.list_name}</option>  
        {/volist}  
       {/volist}
       </select>                                       
    <input type="submit" value="推送" class="btn btn-success btn-add btn-sm" {$url_special_list} {$url_html}/>

              </div>
              </div> 
            </form>                         
              
  
  </div>
       
</div>
